package com.ruoyi.doorcontrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 道闸管理对象 th_gate_control
 * 
 * @author zhang
 * @date 2024-07-20
 */
public class ThGateControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 正阳道闸 */
    private Long id;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipadress;

    /** 道闸描述 */
    @Excel(name = "道闸描述")
    private String content;

    /** 0正常1停用 */
    @Excel(name = "0正常1停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIpadress(String ipadress) 
    {
        this.ipadress = ipadress;
    }

    public String getIpadress() 
    {
        return ipadress;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipadress", getIpadress())
            .append("content", getContent())
            .append("status", getStatus())
            .toString();
    }
}
